home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / doom / 4thjuly.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1996-07-01  |  1KB  |  34 lines

  1. @echo.
  2. @echo. Installation of 4THJULY.WAD
  3. @echo.
  4. @echo. This will take some seconds, be patient.
  5. @echo.
  6. @rem Check main WAD
  7. @if not exist doom2.wad goto miss
  8. @echo @echo. Restoration > restore.bat
  9. @echo doom2.exe -file 4thjuly.wad > play.bat 
  10. @rem
  11. @rem Install Sprites or Flats in WAD
  12. @if not exist 4thjuly.wad goto miss
  13. @echo deusf -res 4thjuly.wad >> restore.bat
  14. @echo  Completing sprites and flats, please wait...
  15. @deusf -main .\doom2.wad -as 4thjuly.wad> deusf.log
  16. @if not ERRORLEVEL 0 goto fail 
  17. @rem
  18. @rem
  19. @echo Installation succeeded.
  20. @echo type PLAY to play the modified game.
  21. @echo type RESTORE to uninstall.
  22. @goto hackit
  23. :fail
  24. @echo. Installation failed: A tool didn't work.
  25. @echo. See hack.log or deusf.log for details.
  26. @goto end
  27. :miss
  28. @echo. Installation impossible: some files are missing.
  29. @echo. Did you have deusf.exe and dehacked.exe ?
  30. @echo. Please copy all your files in the main game directory.
  31. @echo. And try install again.
  32. :hackit
  33. call hackit.bat
  34.